package com.yoo.ons.model

import androidx.annotation.Keep
import com.yoo.module_base.view.tag.TagModel
import java.io.Serializable

@Keep
data class HomeListModel(
    val homepageList:ArrayList<MatchIndexBean>,
    val preferentialFlag:Int,//享受优惠标识：1-浏览上限
):Serializable{
    data class MatchIndexBean(
        var userCode:String?=null,//用户聊天表示
        var friendUserCode:String?=null,//用户聊天表示
        var images: List<PhotoBean> = ArrayList(),//头像地址
        var nickName:String?=null,//名称
        var age:String?=null,//年龄
        var avatarUrl:String?=null,//头像
        var aboutMe:String?=null,//个性签名
        var gender:Int?=null,//性别   1男  2女  0未知
        var matched:Boolean?=null,//true-匹配(对应已like我，则触发match效果) false-不匹配
        var userType:Int?=null,//  2是CM  3是M
        var interests:List<TagModel> = ArrayList()

    ):Serializable
    data class PhotoBean(
        var imageUrl:String?=null,
        var defaultFlag:Int?=null
    ):Serializable
}